package com.example.tms.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "ref_info")
@Entity
public class RefInfo {
    @Id
    private String refid;
    private String reftable;
    private Integer refnum;

    public RefInfo(String refid, String reftable, Integer refnum){
        this.refid = refid;
        this.reftable = reftable;
        this.refnum = refnum;
    }

    public String getRefid() {
        return refid;
    }

    public void setRefid(String refid) {
        this.refid = refid;
    }

    public String getReftable() {
        return reftable;
    }

    public void setReftable(String reftable) {
        this.reftable = reftable;
    }

    public Integer getRefnum() {
        return refnum;
    }

    public void setRefnum(Integer refnum) {
        this.refnum = refnum;
    }
}
